<!DOCTYPE HTML>
<!-- thymeleaf模板必须引入 -->
<!DOCTYPE HTML>
<!-- thymeleaf模板必须引入 -->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>SpringBoot模版渲染</title>
    <meta http-equiv="Content-Type" content="text/html;application/json;charset=UTF-8"/>
</head>
<body>
<form th:action="@{/login}" method="post">
    <input th:text="用户名" type="text" name="name"/>
    <input th:text="密码" type="password" name="pwd"/>
    <button type="submit">提交</button>
</form>
</body>
</html>